package com.ruoyi.orderReturn.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 商品退货对象 order_return
 * 
 * @author ruoyi
 * @date 2024-12-17
 */
public class OrderReturn extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 退货唯一标识 */
    private Long returnId;

    /** 退货申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "退货申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date returnApplyTime;

    /** 订单号 */
    @Excel(name = "订单号")
    private Long returnOrderId;

    /** 退货状态（1：同意 2：拒绝 3：等待） */
    @Excel(name = "退货状态", readConverterExp = "1=：同意,2=：拒绝,3=：等待")
    private Long returnState;

    /** 用户账号 */
    @Excel(name = "用户账号")
    private Long returnUerId;

    /** 退款金额 */
    @Excel(name = "退款金额")
    private BigDecimal returnPrice;

    /** 操作员 */
    @Excel(name = "操作员")
    private String returnOperatorName;

    /** 操作员账号 */
    @Excel(name = "操作员账号")
    private String returnOperatorNumber;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date returnDealTime;

    /** 退货原因Id */
    @Excel(name = "退货原因Id")
    private Long returnReasonId;

    public void setReturnId(Long returnId) 
    {
        this.returnId = returnId;
    }

    public Long getReturnId() 
    {
        return returnId;
    }
    public void setReturnApplyTime(Date returnApplyTime) 
    {
        this.returnApplyTime = returnApplyTime;
    }

    public Date getReturnApplyTime() 
    {
        return returnApplyTime;
    }
    public void setReturnOrderId(Long returnOrderId) 
    {
        this.returnOrderId = returnOrderId;
    }

    public Long getReturnOrderId() 
    {
        return returnOrderId;
    }
    public void setReturnState(Long returnState) 
    {
        this.returnState = returnState;
    }

    public Long getReturnState() 
    {
        return returnState;
    }
    public void setReturnUerId(Long returnUerId) 
    {
        this.returnUerId = returnUerId;
    }

    public Long getReturnUerId() 
    {
        return returnUerId;
    }
    public void setReturnPrice(BigDecimal returnPrice) 
    {
        this.returnPrice = returnPrice;
    }

    public BigDecimal getReturnPrice() 
    {
        return returnPrice;
    }
    public void setReturnOperatorName(String returnOperatorName) 
    {
        this.returnOperatorName = returnOperatorName;
    }

    public String getReturnOperatorName() 
    {
        return returnOperatorName;
    }
    public void setReturnOperatorNumber(String returnOperatorNumber) 
    {
        this.returnOperatorNumber = returnOperatorNumber;
    }

    public String getReturnOperatorNumber() 
    {
        return returnOperatorNumber;
    }
    public void setReturnDealTime(Date returnDealTime) 
    {
        this.returnDealTime = returnDealTime;
    }

    public Date getReturnDealTime() 
    {
        return returnDealTime;
    }
    public void setReturnReasonId(Long returnReasonId) 
    {
        this.returnReasonId = returnReasonId;
    }

    public Long getReturnReasonId() 
    {
        return returnReasonId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("returnId", getReturnId())
            .append("returnApplyTime", getReturnApplyTime())
            .append("returnOrderId", getReturnOrderId())
            .append("returnState", getReturnState())
            .append("returnUerId", getReturnUerId())
            .append("returnPrice", getReturnPrice())
            .append("returnOperatorName", getReturnOperatorName())
            .append("returnOperatorNumber", getReturnOperatorNumber())
            .append("returnDealTime", getReturnDealTime())
            .append("returnReasonId", getReturnReasonId())
            .toString();
    }
}
